package com.go.where.family.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.go.where.family.dao.TeacherRelationDao;
import com.go.where.family.pojo.TeacherRelationInfo;
import com.go.where.family.service.TeacherRelationService;

@Service("teacherRelationService")
public class TeacherRelationServiceImpl implements TeacherRelationService {

	@Resource(name = "teacherRelationDao")
	private TeacherRelationDao teacherRelationDao;

	@Override
	public List<TeacherRelationInfo> queryByTeacherId(
			TeacherRelationInfo teacherRelationInfo) {
		return teacherRelationDao.queryByTeacherId(teacherRelationInfo);
	}

}
